﻿$ExecutePath = $PWD
Set-Location $PSScriptRoot

Set-Location ..

# 判断是否下载了Node.js扩展包
if (!(Test-Path "./node_modules")) {
    Write-Host "npm i"
    npm i
}

## 清理
powershell .\_scripts\clear_scss.ps1
## 编译
powershell .\_scripts\build_scss.ps1

Set-Location $ExecutePath
if ($PSScriptRoot -eq $ExecutePath) {
    # timeout.exe /T -1
}
